package com.qf.contller;

import com.qf.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author lyx
 * @date 2022/7/12 15:13
 */
@RestController
public class UserContller {
    /**
     * 模拟转账  演示账户2加500
     */
    @Autowired
    private UserService userService;
    @GetMapping("/test")
    public void update(){
        userService.update();

    }
}
